package com.pentakill.mo.feedback.feedback.web;

import com.pentakill.mo.feedback.feedback.business.ebi.FeedbackEbi;
import com.pentakill.mo.feedback.feedback.vo.FeedbackModel;
import com.pentakill.mo.util.base.BaseAction;

public class FeedbackAction extends BaseAction{
	
	public FeedbackModel fm;
	
	private FeedbackEbi feedbackEbi;

	public void setFeedbackEbi(FeedbackEbi feedbackEbi) {
		this.feedbackEbi = feedbackEbi;
	}
	
	
	public String add(){
		
		feedbackEbi.save(fm);
		
		//TODO 未添加视图
		return null;
	}
	
	//权限（开发者）
	public String list(){
		feedbackEbi.getAll();
		//TODO 未添加视图
		return null;
	}
}
